package com.leyou.item.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.leyou.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("tb_sku")
@AllArgsConstructor
@NoArgsConstructor
public class Sku extends BaseEntity {
    @TableId
    private Long id;
    private Long spuId;
    private String title;
    private String images;
    private Integer stock;
    private Long price;
    private String indexes;
    private Long sold;
    private String special_spec;
    private Boolean saleable ;//上下架

}
